package com.ssy.lingxi.member.merchant.api.model.vo.paas;

import com.ssy.lingxi.member.merchant.api.handler.annotation.EnableDisableStatusAnno;
import com.ssy.lingxi.member.merchant.api.handler.annotation.MemberCreditTypeAnno;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 会员信用积分规则配置VO
 * @author 万宁
 * @version 2.0.0
 * @date 2020-07-09
 */
public class MemberCreditConfigVO implements Serializable {
    private static final long serialVersionUID = -8506483521341768996L;

    /**
     * 评估项目枚举，定义在MemberCreditTypeEnum中
     */
    @MemberCreditTypeAnno
    private Integer creditTypeEnum;

    /**
     * 信用积分
     */
    @NotNull(message = "信用积分不能为空")
    private Integer creditPoint;

    /**
     * 状态 0-无效 1-有效
     */
    @EnableDisableStatusAnno
    private Integer status;

    public Integer getCreditTypeEnum() {
        return creditTypeEnum;
    }

    public void setCreditTypeEnum(Integer creditTypeEnum) {
        this.creditTypeEnum = creditTypeEnum;
    }

    public Integer getCreditPoint() {
        return creditPoint;
    }

    public void setCreditPoint(Integer creditPoint) {
        this.creditPoint = creditPoint;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
}
